﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MMarketitemSell.aspx.cs" Inherits="IHISCETeim.Web.MachineSys.MarketModel.MMarketitemSell" %>

<div class="pageContent">
	<form id="Form1" action="MarketModel/MMarketitemSell.aspx?ajaxmethod=sell&MMID=<%=MMID %>" class="pageForm required-validate" onsubmit="return validateCallback(this,dialogAjaxDone);">
    <div class="pageFormContent" layoutH="60">  
            <p>
				<label>物料名称：</label>
                <input type="text" name="ItemName"  class="required"  value="<%=obj.ItemName %>"/>
			</p> 
           
              <p>
				<label>出库时间：</label>
                <input type="text" name="SellDate" class="date required" value="<%=DateTime.Now.ToString("yyyy-MM-dd") %>"  />
                
			</p>
            <p>
				<label>单价：</label>
                <input type="text" name="SellPrice" value="<%=obj.Price %>"/>
                
			</p>
           
             <p>
				<label>出库数量：</label>
                <input type="text" name="SellNum" class="required"   value="0"/>
                (当前库存量:<%=obj.InHold %>)
			</p>
            <div class="divider"></div>
            <p>
				<label>经销商名称(或其它)：</label>
                <input type="text"  name="dwz.orgLookup.AgentName"  class="required textInput autocomplete" />                
			    <a class="btnLook" href="SAPAgentListLookUp.aspx?rel=MMarketitemSell&target=dialog" lookupgroup="orgLookup"
                    maxable="false" width="600" resizable="false" title="经销商列表">
                    <hi:text key="查找带回" />
                </a>
            </p>
            <p>
				<label>收货人：</label>
                <input type="text" name="dwz.orgLookup.LinkeName"  class=""   value=""/>                
			</p>
            <p>
				<label>联系电话：</label>
                <input type="text" name="dwz.orgLookup.Tel1"  class=""   value=""/>                
			</p>
            <p>
				<label>物流名称：</label>
                <input type="text" name="ExpressMode" class=""   value=""/>                
			</p>
            <p>
				<label>发货单号：</label>
                <input type="text" name="InvoiceNum" class=""   value=""/>                
			</p>
             <div class="divider"></div>
            <p>
				<label>是否收费：</label>
                <input type="checkbox" name="IsSell"   value="true"/>                
			</p>
            <p>
				<label>收费金额：</label>
                <input type="text" name="SellTotalMoney" class="inputFloat"  value="0"/>                
			</p>

    </div>
    <div class="formBar">
   
			<ul>
				<li><div class="buttonActive"><div class="buttonContent">                 
                    <button type="submit">保存</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
       
	</form>
</div>
